package com.itzg.filestats;

import java.io.File;
import java.util.ArrayList;
import java.util.List;

/**
 * Not thread-safe
 * @author Geoff
 *
 */
public class PerDirResults {
	/** The directory */
	private File dir;
	/** Number of files (non hidden, non dir) in this level of directory */
	private long fileCount;
	/** number of sub-directories */
	private long dirCount;
	/* only non-null if dirCount is zero */
	private long depth;
	
	private List<Long> fileSizes = new ArrayList<Long>(50);
	
	public PerDirResults(long parentDepth, File dir) {
		super();
		this.depth = parentDepth+1;
		this.dir = dir;
	}

	public File getDir() {
		return dir;
	}
	
	public void addToCount(File file) {
		
	}

	public void setDir(File dir) {
		this.dir = dir;
	}

	public long getFileCount() {
		return fileCount;
	}

	public long getDirCount() {
		return dirCount;
	}

	public Long getDepth() {
		return depth;
	}

	public void setDepth(Long depth) {
		this.depth = depth;
	}
	
	
}
